package com.happystreet.engine.animations
{
	import com.happystreet.engine.CoreObject;
	import com.happystreet.engine.CoreShop;
	import com.happystreet.engine.Truck;
	
	import flash.display.MovieClip;
	
	public class TruckBaseAnim extends CoreObject
	{
		protected var referenceShop:CoreShop;
		public var canOverwriteAnimation:Boolean;
		public var crowdLayerPosition:String;
		protected var referenceTruck:Truck;
		public var truckSymbol:CoreObject;
		
		public function TruckBaseAnim()
		{
			super(null);
		}
		
		public function removeAnimation():void
		{
			throw (new Error("TruckBaseAnim is an abstract class! Use an inherited class instead"));
		}
		
		public function setAnimation(_arg1:String):void
		{
			throw (new Error("TruckBaseAnim is an abstract class! Use an inherited class instead"));
		}
		
		public function setTruckSymbol(_arg1:CoreObject):void
		{
			if (this.truckSymbol)
			{
				this.remove(this.truckSymbol);
				this.truckSymbol = null;
			}
			this.truckSymbol = _arg1;
			this.add(this.truckSymbol);
		}
	}
}